﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Maticsoft.Web.wap
{
    public partial class Help : BasePage
    {
        int ChannelId = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            int.TryParse(Request.QueryString["id"], out ChannelId);

            GetData();
        }

        protected void GetData()
        {
            BLL.Channel chaBLL = new BLL.Channel();
            Model.Channel chaModel = chaBLL.GetModel(ChannelId);
            h1Title.InnerHtml = chaModel.ChannelName;
            divMsg.InnerHtml = chaModel.Detail;
        }
    }
}